from django.conf.urls import url

from apps.verifications.views import ImageCodeView, SMSCodeView, VerifyEmailView

urlpatterns = [

    url(r'^image_codes/(?P<uuid>[\w-]+)/$', ImageCodeView.as_view(), name="image"),  # 图片验证码的路由配置
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', SMSCodeView.as_view(), name="sms"),  # 短信验证码的路由配置
    url(r'^emails/verification/$', VerifyEmailView.as_view()),  # 验证邮箱

]

